package com.personal.controller.auth;

import com.personal.entity.auth.AuthUser;
import com.personal.service.auth.AuthService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import springfox.documentation.annotations.ApiIgnore;

import javax.annotation.Resource;
import java.util.List;

@ApiIgnore
@RestController
@RequestMapping("/authUser")
public class AuthUserController {

    @Resource
    private AuthService authService;

    @RequestMapping("/getAll")
    public List<AuthUser> getAll(){
        return authService.getAll();
    }
}
